QuickTime 3 Reference

| Previous | Chapter contents | Chapter top | Section top | Next |

Flags for Movie Import and Export Components

QuickTime 1.6.1 added four new componentFlags values. The canMovieImportInPlace and movieImportSubTypeIsFileExtension values were added in QuickTime 2.0:

enum {
    canMovieExportAuxDataHandle     = 1 << 7,
    canMovieImportValidateHandles   = 1 << 8,
    canMovieImportValidateFile      = 1 << 9,
    dontRegisterWithEasyOpen        = 1 << 10,
    canMovieImportInPlace           = 1 << 11,
    movieImportSubTypeIsFileExtension = 1 << 12,
    canMovieImportPartial           = 1 << 13,
    hasMovieImportMIMEList    = 1 << 14,
    canMovieExportFromProcedures = 1 << 15,
    canMovieExportValidateMovie = 1L << 16,
    movieExportNeedsResourceFork = 1L << 17,
    canMovieImportDataReferences = 1L << 18,
    movieExportMustGetSourceMediaType = 1L << 19
};

Constant descriptions

canMovieExportAuxDataHandle
Set this bit to export a movie to an auxiliary data handle. A movie export component that supports the MovieExportGetAuxillaryData function should also set this flag in its componentFlags .
canMovieImportValidateHandles
Set this bit if your movie import component can and wants to validate handles.
canMovieImportValidateFile
Set this bit if your movie import component can and wants to validate files.
dontRegisterWithEasyOpen
Set this bit if Macintosh Easy Open is installed and you do not want to register your component and you want to handle interactions with Macintosh Easy Open yourself.
canMovieImportInPlace
Set this bit if your movie import component can create a movie from a file without having to write to a separate disk file. Examples include MPEG and AIFF import components.
movieImportSubTypeIsFileExtension
Set this bit if your component's subtype is a file extension instead of a Macintosh file type. For example, if your import component opens files with an extension of .doc , you would set this flag and set your component subtype to 'DOC ' .
canMovieImportPartial
 
Set this bit if your movie import component can and wants to implement the MovieImportSetOffsetAndLimit function.
hasMovieImportMIMEList
 
Set this bit if you movie import component supports a MIME type list. A movie import component that supports the MovieImportGetMIMETypeList function should set the hasMovieImportMIMEList flag in the componentFlags field of the component description record.
canMovieExportFromProcedures
 
Set this bit if your movie export component can and wants to support the MovieExportFromProceduresToDataRef function. A movie export component that supports the MovieExportGetAuxillaryData function should also set the canMovieExportFromProcedures flag in its componentFlags .
canMovieExportValidateMovie
 
Set this bit if your movie export component can and wants to validate the data passed to it. A movie export component that supports the MovieExportValidate function should also set the canMovieExportValidateMovieflag in its component flags.
movieExportNeedsResourceFork
 
Set this bit if you wish to use the resource fork of a Mac OS file.
canMovieImportDataReferences
 
Set this bit if your movie import component will return a data reference, such as a handle.
movieExportMustGetSourceMediaType
 
Set this bit if you wish to use the new exporter component registration mechanism.

© 1997 Apple Computer, Inc.

| Previous | Chapter contents | Chapter top | Section top | Next |